/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.pasatelsys.gw.domain.helper;

/**
 *
 * @author Reza
 */
public enum ErrorCode {

    OK(0), Unauthorized(401),
    InvalidMSISDN(1), ChargingError(21),
    SystemError(22), BalanceIsNotEnough(24),
    ContentIsNull(25), UnexpectedError(23),
    BadRequest(400), OutOfResources(503);
    private int errorCode;

    private ErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public int getErrorCode() {
        return errorCode;
    }
}
